/* 创建者: wuzhaowen
*  文件用于: 图标按钮编辑功能的样式;
*  备注: 以下 edit_icon_btn 类为单个图标按钮控件外层包裹类名; 用以区分全局样式; 
*/

#mc_ui_item_icon_btn {
    width: 100%;
    height: 100%;
}

.edit_icon_btn {
    /* width: 60px; */
    display: inline-block;
    position: relative;
    min-width: 50px;
    /* 覆盖icon_btn */
    width: 57px;
    padding: 1px;
    margin: 5px 2px;
    font-size: 20px;
}

.edit_icon_btn .edit {
    position: absolute;
    right: 8px;
    top: 1px;
    color: white;
    width: 10px;
    height: 10px;
    line-height: 10px;
    border-radius: 43px;
    padding: 1px;
    font-size: 12px;
    border: 2px solid #ffffff;
    z-index: -1;
}

/* 编辑图标容器 */
.edit_icon_btn .edit:after {
    position: relative;
    top: -2px;
}

.edit_icon_btn.close .edit:after {
    content: "x";
}

.edit_icon_btn.add .edit:after {
    content: "+";
}

.edit_icon_btn.close .edit {
    background: red;
    z-index: 2;
}

.edit_icon_btn.add .edit {
    background: #246ece;
    z-index: 2;
}

/* 编辑状态下 hover无效果 */
.edit_icon_btn.edit_status:hover {
    background-color: #fff;
    box-shadow: none !important;
}

.edit_icon_btn.edit_status:hover>.edit {
    background-color: #9e9e9e;
    border: 2px solid;
}

.edit_icon_btn.edit_status .edit:hover {
    background-color: #9e9e9e;
    border: 2px solid;
}

.split_line_row {
    /* margin: 0 12px; */
    /* border-bottom: 1px solid #246ece; */
    /* border-bottom: 1px solid transparent; */
    /* border-image: linear-gradient(to left, rgba(127, 127, 127, 0), rgba(88, 88, 88, 0.95)) 1 10; */
    width: 1px;
    height: 100%;
}

#mc_ib_id_edit {
    display: inline-block;
    text-align: center;
    transform: translate(-50%, 0px);
    position: absolute;
    left: 50%;
    cursor: pointer;
}

#mc_ui_item_icon_btn .btn_text {
    font-size: 12px;
    overflow: hidden;
    text-overflow: ellipsis;
}

#icon_btn_all .btn_text {
    height: 16px;
}

@media screen and (min-width: 1px) and (max-width: 620px) {
    #mc_ui_item_icon_btn .icon_btn {
        min-width: 40px;
    }

    #mc_ui_item_icon_btn .icon_btn span {
        display: inline-block;
    }
}

.mc_ibe_edit_grp {
    text-align: right;
    margin-bottom: 1px;
    border: #c0c0c0 solid 1px;
    background-color: #ffffff;
    height: auto;
    box-sizing: border-box;
    flex-shrink: 0;
    flex-grow: 0
}

.mc_ibe_edit_grp [data-operation=cancel],
.mc_ibe_edit_grp [data-operation=done] {
    display: none;
}

[data-operation] {
    display: inline-block;
    width: 32px;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    width: max-content;
}

[data-operation]:hover {
    text-decoration: underline;
}



/* 编辑状态下"编辑"操作隐藏 */
.mc_ibe_edit_grp.edit_status [data-operation=edit] {
    display: none;
}

.mc_ibe_edit_grp.edit_status [data-operation=cancel],
.mc_ibe_edit_grp.edit_status [data-operation=done] {
    display: inline-block;
}


#mc_ui_item_icon_btn .ibtn_layer {
    display: inline-block;
    border: #c0c0c0 solid 1px;
    background-color: #ffffff;
    height: 100%;
    padding: 0px 5px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.mc_ibe_btn_container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: row;
    box-sizing: border-box;
    flex-grow: 1;
    overflow-y: auto;
    flex-wrap: nowrap
}

.ibtn_title {
    padding: 3px 0px 6px;
    font-size: 16px;
    width: 100%;
}

/* 板块 */
.plate_style {
    border: #c0c0c0 solid 1px;
    background-color: #ffffff;
    box-sizing: border-box
}


#icon_btn_use {
    width: 80px !important;
    flex-basis: 75px;
    flex-shrink: 0;
}

#icon_btn_all {
    width: 100%;
}

#icon_btn_all .ibtn_inner_wrap {
    flex-wrap: wrap;
    flex-direction: row;
}


.ibtn_inner_wrap {
    overflow: auto;
    overflow-x: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    display: flex;
    flex-direction: column;
}

.ibtn_inner_wrap::-webkit-scrollbar {
    width: 1px !important;
    display: none;
}